package com.atguigu.easyexcel;

import com.atguigu.yygh.cmn.ServiceCmnApplication;
import com.atguigu.yygh.cmn.service.RedisService;
import com.atguigu.yygh.model.cmn.Dict;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

@SpringBootTest(classes = {ServiceCmnApplication.class})
public class RedisAnnotation {

    @Autowired
    private RedisService redisService;
    @Test
    public void demo(){
        List<Dict> dicts = redisService.selectById(10L);
//         redisService.update(10L);
        System.out.println();
    }
}
